testsuite: Add another repeat node test case
authorTimm Bäder <mail@baedert.org>
Tue, 26 Nov 2019 07:41:23 +0000 (08:41 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 26 Nov 2019 08:09:25 +0000 (09:09 +0100)
testsuite/gsk/compare/repeat-negative-coords.node [new file with mode: 0644]
testsuite/gsk/compare/repeat-negative-coords.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/repeat-negative-coords.node b/testsuite/gsk/compare/repeat-negative-coords.node
new file mode 100644 (file)
index 0000000..20d2b51
--- /dev/null
@@ -0,0 +1,8 @@
+repeat {
+  bounds: 0 0 20 10;
+
+  child: container {
+    color { color: blue; bounds: 0 5 10 10;}
+    color { color: red;  bounds: 0 10 10 10;}
+  }
+}
diff --git a/testsuite/gsk/compare/repeat-negative-coords.png b/testsuite/gsk/compare/repeat-negative-coords.png
new file mode 100644 (file)
index 0000000..127e85b
Binary files /dev/null and b/testsuite/gsk/compare/repeat-negative-coords.png differ
index cf54b8961c2c23fba79e7ebe7c8f9ac2473f534d..cf3a74b5c5469226713fc2d49db6d501d304b50b 100644 (file)
@@ -60,6 +60,7 @@ compare_render_tests = [
   'repeat',
   'repeat-texture',
   'repeat-no-repeat',
+  'repeat-negative-coords',
 ]
 
 # these are too sensitive to differences in the renderers